package com.tmt.im.wallet.controler.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Description TODO
 * @Author wuyi
 * @Date 2024/10/18 0:32
 * @Version 1.0
 **/
@Getter
@Setter
@Tag(name = "UpdatePayPasswordRequest", description = "更新支付密码请求")
public class UpdatePayPasswordRequest  implements Serializable {

    @Serial
    private static final long serialVersionUID = -46880833863771019L;

    @Schema(description = "通过手机号码设置支付密码")
    @NotNull(message = "手机号码不能为null")
    private String mobile;

    @Schema(description = "账号绑定的手机号码接收到的验证码")
    @NotNull(message = "验证码不能为null")
    @NotBlank(message = "验证码不能为空串")
    private String smsCode;

    @Schema(description = "新的支付密码")
    @NotNull(message = "支付密码不能为null")
    @NotBlank(message = "支付密码不能为空串")
    private String payPassword;

}
